package com.yaoxun.console.xo.resp;

import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.yaoxun.console.xo.dto.FilterDefinition;
import com.yaoxun.console.xo.dto.Predicate;

import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class RouterResp {

	private String namespace;
	
	private String id;

	private String uri;
	
	private List<Predicate> predicates = new ArrayList<>();

	private List<FilterDefinition> filters = new ArrayList<>();

	private Map<String, Object> metadata = new HashMap<>();

	private int order = 0;
	
	private long createTimestamp;
	
	private Date createTime;
	
}
